package com.yunxi.dealer.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.dealer.pojo.BusinessVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 渠道商业务类型信息 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-21
 */
public interface BusinessDubboService {

    BusinessVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(BusinessVO businessVO,LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id,LoginInfo loginInfo);

    PageInfo<BusinessVO> findPageByVO(BusinessVO businessVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    List listByVo(BusinessVO v);
}
